package com.generator.mybatis.generator.core.enums;


public enum DatabaseTypeEnum {
    VARCHAR("String",""),CHAR("String",""),TEXT("String",""),TINYTEXT("String",""),MEDIUMTEXT("String",""),LONGTEXT("String",""),ENUM("String",""),SET("String",""),
    BLOB("Byte[]",""),TINYBLOB("Byte[]",""),MEDIUMBLOB("Byte[]",""),LONGBLOB("Byte[]",""),BINARY("Byte[]",""),VARBINARY("Byte[]",""),
    INT("Long",""),INTEGER("Long",""),
    TINYINT("Integer",""),SMALLINT("Integer",""),MEDIUMINT("Integer",""),NUMERIC("Integer",""),
    BIT("Boolean",""),
    FLOAT("Float",""),REAL("Float",""),
    DOUBLE("Double",""),
    DECIMAL("BigDecimal","import java.math.BigDecimal;"),
    BIGINT("BigInteger","import java.math.BigInteger;"),
    DATE("Date","import java.util.Date;"),YEAR("Date","import java.util.Date;"),
    TIME("Time","import java.sql.Time;"),
    DATETIME("Timestamp","import java.sql.Timestamp;"),TIMESTAMP("Timestamp","import java.sql.Timestamp;")
    ;
    private String javaType;
    private String importPackage;
    DatabaseTypeEnum(String javaType,String importPackage){
        this.javaType=javaType;
        this.importPackage=importPackage;
    }

    public String getJavaType() {
        return javaType;
    }

    public void setJavaType(String javaType) {
        this.javaType = javaType;
    }

    public String getImportPackage() {
        return importPackage;
    }

    public void setImportPackage(String importPackage) {
        this.importPackage = importPackage;
    }
}
